/**
 * @description:前端动态路由
 * @return {*}
 */
export const asyncRouterMap = [
  {
    id: 'WORKBENCH',
    text: '工作台',
    icon: '',
    url: '/workbench',
    nodeType: 2
  },
  {
    id: 'TASK_MANAGEMENT',
    text: '任务办理',
    icon: '',
    leaf: false,
    expanded: true,
    children: [
      {
        id: 'TASK_LIST',
        text: '任务列表',
        icon: 'task_jcrwcx',
        leaf: true,
        nodeType: 2,
        expanded: true,
        url: '/task-management/task-list',
        children: [
          {
            id: 'LEAD_TASK',
            text: '牵头任务',
            nodeType: 3,
            leaf: true,
            url: '/task-management/task-list/lead-task'
          },
          {
            id: 'COORDINATE_TASK',
            text: '配合任务',
            nodeType: 3,
            leaf: true,
            url: '/task-management/task-list/coordinate-task'
          }
        ]
      },
      {
        id: 'TASK_HANDLE',
        text: '任务办理',
        icon: 'task_jcrwcx',
        leaf: true,
        nodeType: 2,
        expanded: true,
        url: '/task-management/task-handle',
        children: [
          {
            id: 'TASK_SIGN',
            text: '任务签收',
            nodeType: 3,
            leaf: true,
            url: '/task-management/task-handle/task-sign'
          },
          {
            id: 'TASK_RESOLVE',
            text: '任务分解',
            nodeType: 3,
            leaf: true,
            url: '/task-management/task-handle/task-resolve'
          },
          {
            id: 'SCHEDULE_FEEDBACK',
            text: '进度反馈',
            nodeType: 3,
            leaf: true,
            url: '/task-management/task-handle/schedule-feedback'
          },
          {
            id: 'TASK_CHECK',
            text: '任务审核',
            nodeType: 3,
            leaf: true,
            url: '/task-management/task-handle/task-check'
          }
        ]
      }
    ]
  },
  {
    id: 'STATISTICS-ANALYSE',
    text: '统计分析',
    icon: '',
    url: '/statistics-analyse',
    nodeType: 2
  },
  {
    id: 'DATA_BANK',
    text: '资料库',
    icon: '',
    leaf: false,
    expanded: true,
    children: [
      {
        id: 'FILE_SHARE',
        text: '文件共享',
        icon: 'jcpzgl',
        leaf: true,
        nodeType: 2,
        expanded: true,
        url: '/data-bank/file-share'
      },
      {
        id: 'ADDRESS_BOOK',
        text: '通讯录',
        icon: 'jcpzgl',
        leaf: true,
        nodeType: 2,
        expanded: true,
        url: '/data-bank/address-book'
      }
    ]
  }
]
